package com.crane.oss.school.bean.resp;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class AppStudentResp implements Serializable {

	private static final long serialVersionUID = 803624610824564597L;
	
	@ApiModelProperty(value = "班级信息", name = "classInfo")
	private String classInfo;
	
	@ApiModelProperty(value = "学生列表", name = "studentList")
	private List<StudentInfo> studentList;
	
	@Getter
	@Setter
	@ToString
	public class StudentInfo implements Serializable {
		
		private static final long serialVersionUID = -4707002084490180412L;
		
		@ApiModelProperty(value = "学生id", name = "studentId")
	    private Long studentId;
		
	    @ApiModelProperty(value = "名字", name = "name")
	    private String name;

	    @ApiModelProperty(value = "性别 0男  1女", name = "sex")
	    private Integer sex;

	    @ApiModelProperty(value = "性别中文 0男  1女", name = "sexCn")
	    private String sexCn;
	}

}
